import axios from '../axios.js'


export default {
    //新增客户信息
    addUsers(data) {
        return axios({
            url: '/users/addUsers',
            method: 'post',
            data
        })
    },
    //查看我负责的所有客户
    getUsers(params) {
        return axios({
            url: '/users/getUsers',
            method: 'get',
            params
        })
    },
    //修改客户信息
    updateUsers(data) {
        return axios({
            url: '/users/updateUsers',
            method: 'post',
            data
        })
    },
    //删除客户信息
    deleteUsers(data) {
        return axios({
            url: '/users/deleteUsers',
            method: 'post',
            data
        })
    },

    //订单页面根据ID修改用户
}